package com.xjscrm.server.mapper;

import com.xjscrm.common.entity.GroupWelcomeGroup;
import com.xjscrm.common.entity.GroupWelcomeGroup;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface GroupWelcomeGroupMapper {
    int deleteById(Long id);

    int insert(GroupWelcomeGroup record);

    int insertSelective(GroupWelcomeGroup record);

    GroupWelcomeGroup selectById(Long id);

    GroupWelcomeGroup selectByPlanIdAndDeviceUniqueIdAndGroupWxid(@Param("planId") Long planId, @Param("deviceUniqueId") Long deviceUniqueId, @Param("groupWxid") String groupWxid);

    int updateByIdSelective(GroupWelcomeGroup record);

    int updateById(GroupWelcomeGroup record);
}